package com.glut.vo;

import java.io.Serializable;
import java.util.List;

/**
 * 二级知识点表
 * @Author:沈林玉
 * @date:2020/2/2 21:36
 * @Description:
 */
public class SecKld implements Serializable {

    private String secKldID; // 二级知识点ID
    private String secKldCtgr; // 二级知识点内容
    private String levKldID;  // 一级知识点ID，外键
    private LevKld levKld;

    // 拼接字符ID
    private Integer secSeqID;
    private String newSecID;

    public SecKld() {
    }

    public SecKld(String secKldID, String secKldCtgr, String levKldID) {
        this.secKldID = secKldID;
        this.secKldCtgr = secKldCtgr;
        this.levKldID = levKldID;
    }

    public String getSecKldID() {
        return secKldID;
    }

    public void setSecKldID(String secKldID) {
        this.secKldID = secKldID;
    }

    public String getSecKldCtgr() {
        return secKldCtgr;
    }

    public void setSecKldCtgr(String secKldCtgr) {
        this.secKldCtgr = secKldCtgr;
    }

    public String getLevKldID() {
        return levKldID;
    }

    public void setLevKldID(String levKldID) {
        this.levKldID = levKldID;
    }

    public LevKld getLevKld() {
        return levKld;
    }

    public void setLevKld(LevKld levKld) {
        this.levKld = levKld;
    }

    public Integer getSecSeqID() {
        return secSeqID;
    }

    public String getNewSecID() {
        return getLevKldID()+getSecSeqID();
    }

    @Override
    public String toString() {
        return "SecKld{" +
                "secKldID='" + secKldID + '\'' +
                ", secKldCtgr='" + secKldCtgr + '\'' +
                ", levKldID='" + levKldID + '\'' +
                ", levKld=" + levKld +
                '}';
    }
}
